//
//  CollectionWebVC.m
//  BeanTrip
//
//  Created by houlei on 15/7/13.
//  Copyright (c) 2015年 PandaGroup. All rights reserved.
//

#import "CollectionWebVC.h"
#import "CollectionModel.h"

@interface CollectionWebVC ()

@end

@implementation CollectionWebVC

- (void)dealloc
{
    [_collectionM release];
    [_myWebView release];
    [super dealloc];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.myWebView = [[UIWebView alloc] initWithFrame:[[UIScreen mainScreen]bounds]];
    NSURLRequest *urlRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:self.collectionM.url]];
    [self.view addSubview:self.myWebView];
    [self.myWebView loadRequest:urlRequest];
    [_myWebView release];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
